
<div class="ContainAdmin">
	<div class="TitreAdmin">GESTION DE VOTRE COMPTE</div>
	
	<div class="LeftAdmin">
	<font class="TitleCompte">Mes informations de compte:</font>
	<?php
	$idAdmin=$_SESSION['id'];
	$req1=mysql_query("SELECT * FROM administrateur Where id='$idAdmin'") or die("prob de sel des users");
	$data= mysql_fetch_assoc($req1);
	$NomAd=$data['nom'];
	$PrenomAd=$data['prenom'];
	$EmailAd=$data['email'];
	$TelAd=$data['tel'];
	$AdresseAd=$data['adresse'];
	?>
	<div class="Border">
	<form action="index.php?page=ModifCompte" method="post">
	<input name="NomAd" type="hidden" id="NomAd" value="<?php echo $NomAd; ?>">
	<input name="PrenomAd" type="hidden" id="NomAd" value="<?php echo $PrenomAd; ?>">
	<input name="EmailAd" type="hidden" id="NomAd" value="<?php echo $EmailAd; ?>">
	<input name="TelAd" type="hidden" id="NomAd" value="<?php echo $TelAd; ?>">
	<input name="AdresseAd" type="hidden" id="NomAd" value="<?php echo $AdresseAd; ?>">
		<table width="396" border="0" cellspacing="0" cellpadding="0" class="PresentationCompte">
  <tr>
    <td width="81" align="right">Nom:</td>
    <td width="10">&nbsp;</td>
    <td width="305"><strong><?php echo $NomAd; ?></strong></td>
  </tr>
  <tr>
    <td align="right">Pr&eacute;nom:</td>
    <td>&nbsp;</td>
    <td><strong><?php echo $PrenomAd; ?></strong></td>
  </tr>
  <tr>
    <td align="right">Email:</td>
    <td>&nbsp;</td>
    <td><strong><?php echo $EmailAd; ?></strong></td>
  </tr>
  <tr>
    <td align="right">Tel:</td>
    <td>&nbsp;</td>
    <td><strong><?php echo $TelAd; ?></strong></td>
  </tr>
  <tr>
    <td align="right">Adresse:</td>
    <td>&nbsp;</td>
    <td><strong><?php echo $AdresseAd; ?></strong></td>
  </tr>
  <tr>
    <td align="right">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td align="right">&nbsp;</td>
    <td>&nbsp;</td>
    <td><input type="submit" name="Submit" value="Modifier" class="Envoyer"></td>
  </tr>
  <tr>
    <td align="right">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</form></div><br><br>

 </div>

	<div class="RightAdmin">
	<div id="ChangeMdp"> <font class="TitleCompte">Modifier identifiant</font>
	<div class="Border">
<form action="index.php?page=ModifIdentifiant" method="post">
<table width="415" border="0" cellspacing="0" cellpadding="0" class="PresentationCompte">
  <tr>
    <td width="12">&nbsp;</td>
    <td width="403">Nouvel identifiant: </td>
    </tr>
  <tr>
    <td>&nbsp;</td>
    <td width="403"><input name="IdentifiantNAd" type="text" id="IdentifiantNAd" size="40"></td>
    </tr>
  <tr>
    <td>&nbsp;</td>
    <td width="403">&nbsp;</td>
    </tr>
  <tr>
    <td>&nbsp;</td>
    <td width="403">Confirmer le nouvel identifiant:</td>
    </tr>
  <tr>
    <td>&nbsp;</td>
    <td><input name="ConfirmNAd" type="text" id="ConfirmNAd" size="40"></td>
    </tr>
  <tr>
    <td rowspan="2">&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
  <tr>
    <td><input type="submit" name="Submit2" value="Modifier"  class="Envoyer"></td>
  </tr>
</table>
</form>
</div>
<br><br>
  <font class="TitleCompte">Modifier mot de passe:</font>
  <div class="Border">
  <form action="index.php?page=ModifMdp" method="post">
 <table width="415" border="0" cellspacing="0" cellpadding="0" class="PresentationCompte">
  <tr>
    <td width="12">&nbsp;</td>
    <td width="403">Nouveau mot de passe: </td>
    </tr>
  <tr>
    <td>&nbsp;</td>
    <td width="403"><input name="MdpNAd" type="password" id="MdpNAd" size="40"></td>
    </tr>
  <tr>
    <td>&nbsp;</td>
    <td width="403">&nbsp;</td>
    </tr>
  <tr>
    <td>&nbsp;</td>
    <td width="403">Confirmer le nouveau mot de passe:</td>
    </tr>
  <tr>
    <td>&nbsp;</td>
    <td><input name="ConfirmNAd" type="password" id="ConfirmNAd" size="40"></td>
    </tr>
  <tr>
    <td rowspan="2">&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
  <tr>
    <td><input type="submit" name="Submit2" value="Modifier"  class="Envoyer"></td>
  </tr>
</table>
</form>
</div>
	</div>
	</div>
	<div class="clr"></div>
</div>